package com.legendshop.openportal.sdk.model.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SubOrderItemResponse implements Serializable {

    @ApiModelProperty("产品ID")
    private Long prodId;

    @ApiModelProperty("产品SkuID")
    private Long skuId;

    @ApiModelProperty("购物车产品个数")
    private Integer basketCount;

    @ApiModelProperty("产品名称，即SKU名字")
    private String prodName;

    @ApiModelProperty("主产品名称")
    private String mainProdName;

    @ApiModelProperty("产品动态属性")
    private String attribute;

    @ApiModelProperty("商品总金额")
    private BigDecimal productTotalAmout;

    @ApiModelProperty("商品实付金额")
    private BigDecimal actualAmount;

    /**
     * 退款/退货状态
     */
    @ApiModelProperty("退款/退货状态")
    private Long refundState;

    /**
     * 退款金额
     */
    @ApiModelProperty("退款金额")
    private BigDecimal refundAmount;

    /**
     * 申请类型 1:仅退款,2:退货
     */
    @ApiModelProperty("申请类型 1:仅退款,2:退货")
    private Long refundType;

    /**
     * 退货数量
     */
    @ApiModelProperty("退货数量")
    private Long refundCount;
}
